package com.bxd.baodan.item;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.bxd.baodan.base.BaseItem;

/**
 * 省
 * 
 * @author oldfeel
 * 
 *         Create on: 2014年7月15日
 */
@DatabaseTable(tableName = "provinceitem")
public class ProvinceItem extends BaseItem {
	@DatabaseField(generatedId = true)
	private int id;
	@DatabaseField
	private int provinceCode;
	@DatabaseField
	private String name;

	public ProvinceItem() {
	}

	public ProvinceItem(int provinceCode, String name) {
		super();
		this.provinceCode = provinceCode;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(int provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
